package cn.stylefeng.guns.modular.commodity.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


/**
 * @author allen
 * @date 2021/4/11 17:59
 * @version 1.0
 */

/**
 * 商品中心的品牌表
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "commodity_brand")
public class CommodityBrandEntity implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 品牌中文名
     */
    @TableField(value = "chinese_name")
    private String chineseName;

    /**
     * 品牌英文名
     */
    @TableField(value = "english_name")
    private String englishName;

    /**
     * 品牌别名
     */
    @TableField(value = "alias_name")
    private String aliasName;

    /**
     * logo的图片路径
     */
    @TableField(value = "logo_path")
    private String logoPath;

    /**
     * 品牌介绍
     */
    @TableField(value = "introduction")
    private String introduction;

    /**
     * 品牌授权凭证的图片路径
     */
    @TableField(value = "auth_voucher_path")
    private String authVoucherPath;

    /**
     * 品牌所在地
     */
    @TableField(value = "`location`")
    private String location;

    /**
     * 品牌说明备注
     */
    @TableField(value = "remark")
    private String remark;

    /**
     * 创建时间
     */
    @TableField(value = "gmt_create")
    private Date gmtCreate;

    /**
     * 更新时间
     */
    @TableField(value = "gmt_modified")
    private Date gmtModified;

    private static final long serialVersionUID = 1L;

    public static final String COL_ID = "id";

    public static final String COL_CHINESE_NAME = "chinese_name";

    public static final String COL_ENGLISH_NAME = "english_name";

    public static final String COL_ALIAS_NAME = "alias_name";

    public static final String COL_LOGO_PATH = "logo_path";

    public static final String COL_INTRODUCTION = "introduction";

    public static final String COL_AUTH_VOUCHER_PATH = "auth_voucher_path";

    public static final String COL_LOCATION = "location";

    public static final String COL_REMARK = "remark";

    public static final String COL_GMT_CREATE = "gmt_create";

    public static final String COL_GMT_MODIFIED = "gmt_modified";
}